/*variables*/
$orange: #f8c6a1;
$red: #e4364f;
$dark-green: #006a2c;
$green: #b0d288;
$blue: #56d2da;
$dark-blue: #1f83c1;
$purple: #d298cb;
$brown: #5b5756;
$header-height: 60px;

$font-light: 'Open Sans', sans-serif;

/*mixins*/
@mixin border-radius($radius) {
    -webkit-border-radius: $radius;
    -moz-border-radius: $radius;
    -ms-border-radius: $radius;
    border-radius: $radius;
}
@mixin opacity($value) {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=$value)";  
  filter: alpha(opacity=$value);                                          
  -moz-opacity: $value;                                                   
  -khtml-opacity: $value;                                               
  opacity: $value;                                                        
}
@mixin min-height($value) {
   min-height: $value; 
   height: auto !important; 
   height: $value;     
}

/*fonts*/


/*reset*/
* {
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;    
    box-sizing: border-box;         
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

a {
    color: #fff;
    text-decoration: none;
}
h1, h2 {
    margin: 0;
    padding: 0;
    font-family: $font-light;
    font-weight: bold;
}
h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: $font-light;
    font-weight: normal;
}
input {
    outline: 0;
    border-style: none;
}
input:focus {
    outline: 0;
    border-style: none;
}

/*Base*/
html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    font-family: $font-light;
    background: radial-gradient(circle at  center center, #fff, #ccc);
}
.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
   
}
.section {
    
}
/*Layout*/
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1; /*For IE 6/7 only*/
}

/*VIEWS*/

/*HEADER*/
.header-top {
    position: fixed;
    width: 100%;
    margin-top: 85px;
    height: $header-height;
    min-height: $header-height;
    background-color: #e6e6e6;
    z-index: 1;
}
.container-logo {
    position: relative;
    height: $header-height;
    
    img {
        position: absolute;
        top: -22px;
        margin: 0 auto 0 70px;
    }
}
#container-heading {
    height: $header-height;
    
    h2 {
        display: block;
        line-height: $header-height;
        color: #84c188;
        font-size: 2.5em;
        font-weight: normal;
        text-transform: uppercase;
    }
    a {
        color: #f8c6a1;
    }
}
.container-social {
    height: $header-height;
    padding: 0 90px 0 0;
    ul {
        float: right;
        display: inline-block;
        height: $header-height;
        li {
           float: left;
           margin: 14px 2px; 
            
           img {
               width: 32px;
               height: 32px;
           }
        }
    } 
}
#bg-button, #en-button {
    color: #444;
    font-size: 18px;
    line-height: 32px;
    &.active {
        color: #84c188;
    }
}

/*MAIN NAV*/
#menu {
    display: block;
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 1;
    width: 25%;
    min-height: 1px;
    
    nav {

        a[href="#home"]{
            position: relative;
            background-image: url('../lib/textures/home.png');
            &:before {
                content: "Home";
                display: none;
                position: absolute;
                top: 30px;
                right: -95px;
                height: 30px;
                padding: 0 10px;
                line-height: 30px;
                font-size: 20px;
                text-transform: uppercase;
                background-color: #115985;
                z-index: 9999;
            }
            &:hover:before {
                display: inline-block;
            }
        }
        a[href="#home"].active {
            width: 92px;
            height: 92px;
            background-image: url('../lib/textures/home-h.png');
        }
        a[href="#products"]{
            position: relative;
            background-image: url('../lib/textures/products.png');
            &:before {
                content: "Products";
                display: none;
                position: absolute;
                top: 30px;
                right: -145px;
                height: 30px;
                padding: 0 10px;
                line-height: 30px;
                font-size: 20px;
                background-color: #115985;
                
                text-transform: uppercase;
            }
            &:hover:before {
                display: block;
            }
        }
        a[href="#products"].active {
            width: 92px;
            height: 92px;
            background-image: url('../lib/textures/products-h.png');
        }
        
        a[href="#about"] {
            position: relative;
            background-image: url('../lib/textures/about.png');
            &:before {
                content: "About";
                display: none;
                position: absolute;
                top: 30px;
                right: -105px;
                height: 30px;
                padding: 0 10px;
                line-height: 30px;
                font-size: 20px;
                background-color: #115985;
                
                text-transform: uppercase;
            }
            &:hover:before {
                display: block;
            }
        }
        a[href="#about"].active {
            width: 92px;
            height: 92px;
            background-image: url('../lib/textures/about-h.png');
        }
        
        a[href="#forum"] {
            position: relative;
            background-image: url('../lib/textures/forum.png');
            &:before {
                content: "Forum";
                display: none;
                position: absolute;
                top: 30px;
                right: -105px;
                height: 30px;
                padding: 0 10px;
                line-height: 30px;
                font-size: 20px;
                background-color: #115985;
                
                text-transform: uppercase;
            }
            &:hover:before {
                display: block;
            }
        }
        a[href="#forum"].active {
            width: 92px;
            height: 92px;
            background-image: url('../lib/textures/forum-h.png');
        }
        
        a[href="#contacts"] {
            position: relative;
            background-image: url('../lib/textures/contacts.png');
            &:before {
                content: "Contacts";
                display: none;
                position: absolute;
                top: 30px;
                right: -145px;
                height: 30px;
                padding: 0 10px;
                line-height: 30px;
                font-size: 20px;
                background-color: #115985;
                
                text-transform: uppercase;
            }
            &:hover:before {
                display: block;
            }
        }
        a[href="#contacts"].active {
            width: 92px;
            height: 92px;
            background-image: url('../lib/textures/contacts-h.png');
        }
        
        a {
            display: block;
            width: 92px;
            height: 92px;
            text-align: center;
            line-height: 64px;
            opacity: .8;  
            //background-color: rgb(134, 191, 201);
            background-image: url('../lib/textures/sphere.png');
            //background: radial-gradient(circle at 0 top, rgba(134, 191, 201, .7), rgba(43, 102, 163, 0.7));
            @include border-radius(50%);
            background-size: cover;
        }
    }
}
.bond {
    width: 14px;
    height: 10px;
    background: rgba(68, 161, 192, 0.80);
    display: block;
}
#scroll-down {
    position: fixed;
    left: 100px;
    width: 60px;
    height: 60px;
    opacity: .8;
}
/*CONTENT*/
.content {
    position: relative;
    
    h3 {
        margin: 0px 0;
        font-size: 24px;
    }
    
    .order-button {
        display: inline-block;
        height: 30px;
        margin: 0px 0 40px 0;
        padding: 0 10px;
        line-height: 30px;
        font-size: 14px;
        text-transform: uppercase;
        color: $dark-green;
        background: radial-gradient(circle at 0 top, #d3cfcc, #cccbd0);
        @include border-radius(6px);
    }
}
.product-image {
    display: block;
    margin: -25px auto 0 auto;
    left: 0px;
    max-width: 100%;
    max-height: 400px;
    z-index: 1;
}
.content, #product-tabs {
    padding-top: 14em;
}
#map { 
    position:absolute; 
    top:0!important; 
    bottom:0; 
    width:100%; 
    height: 100%;
}
#info-window {
    display: block;
    width: 210px;
    height: 100px;
}
/*PRODUCT TABS*/
#tabs-container {
    width: 100%;
    padding: 0;
}
.tab {
    display: none;
    min-height: 304px;
    width: 100%;
    margin: 0;
}
.tab.active {
    display: block;
}
#product-tabs {
    position: relative;

    
    a.product-name {
        display: block;
        width: 190px;
        height: 55px;
        margin: 0px auto 20px auto;
        padding: 4px;
        font-size: 20px;
        text-transform: uppercase;
        color: #0e0e0e;
        background: radial-gradient(circle at 0 top, #d3cfcc, #cccbd0);
        @include border-radius(6px);
        
        span.product-type {
            display: block;
            width: 100%;
            height: 15px;
            font-size: 11px;
            text-transform: uppercase;
            color: $dark-green;
        }
    }
    li:nth-child(2n) span {
        color: $dark-blue;
    }
}
#add-question { 
    cursor: pointer;
    display: inline-block;
    height: 30px;
    margin: 0px 0 40px 0;
    padding: 0 10px;
    line-height: 30px;
    font-size: 14px;
    text-transform: uppercase;
    color: $dark-green;
    background: radial-gradient(circle at 0 top, #d3cfcc, #cccbd0);
    @include border-radius(6px);
    
    a {
        color: $dark-green;
    }
}
/*ORDER FORM*/
#form-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, .5);
    z-index: 999;
}
#order-form {
    display: block;
    position: relative;
    width: 70%;
    height: auto;
    margin: 3% auto;
    padding: 40px;
    background: radial-gradient(circle at  center center, #fff, #ccc);
    h3 {
        margin: 10px 0;
        text-align: center;
        font-size: 20px;
    }
    p {
        width: 320px;
        margin: 10px auto;
        font-size: 18px;
    }
    label {
        display: block;
        width: 320px;
        height: 40px;
        margin: auto;
        line-height: 40px;
        color: $brown;
    }
    input {
        display: block;
        width: 320px;
        height: 40px;
        margin: auto;
        padding: 0 5px;
        font-size: 18px;
        line-height: 40px;
        color: $brown;
        border: 1px solid $brown;
    }
}
#submit-button {
    display: block;
    width: 320px;
    height: 40px;
    margin: 40px auto;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 40px;
    text-align: center;
    color: $dark-green;
    background: radial-gradient(circle at 0 top, #d3cfcc, #cccbd0);
}
#close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 34px;
    color: #5b5756;
    cursor: pointer;
}
/*animations*/
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

/*MEDIA QUERIES*/
@media all and (max-width: 1000px) {
    #fp-nav.right {
        right: 5px;
    }
    #fp-nav {
        right: 5px;
    }
    .content {
        padding-right: 40px;
    }
}

@media all and (max-width: 769px) {
    #menu {
        display: none;
    }
    #home-view, #products-view, #about-view, #forum-view, #contacts-view {
        padding-top: 140px!important;
    }
    .header-top {
        margin-top: 50px!important;
    }
    .container-logo {
    
        img {
            margin: 0!important;
            top: -8px!important;
            width: 120px;
            height: 80px;
        }
    }
    #container-heading {
        
        h2 {
            text-align: left;
            font-size: 20px;
        }
    }
    .container-social {
        padding-right: 0!important;
        position: absolute;
        top: -50px;
        right: 0;
    }
    .content {
        padding-top: 0em;
    }
    #product-tabs {
        padding-top: 0!important;
    }
    .product-image {
        max-height: 200px;
    }
    #order-form {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
        padding: 40px 0;
    }
}

//@media all and (max-width: 769px) and (max-height: 700px ){
//    .section {
//        overflow-y: scroll;
//    }
//}
//
//@media all and (min-width: 769px) and (max-height: 650px ){
//    .section {
//        overflow-y: scroll;
//    }
//}

